<extend name="Index/index" />
<block name="center">

<div class="portlet-body">
    <div class="note note-info" style="height:50px;line-height:50px;margin:0px;">
        <h4 class="box-heading">权限组列表</h4>
    </div>
    <table id="example-export" class="table table-hover table-striped table-bordered table-advanced tablesorter mbn">
        <thead>
            <tr>
                <th width="5%">ID</th>
                <th width="15%">权限组中文名称</th>
                <th width="20%">权限组规则</th>
                <th width="30%">权限组描述</th>
                <th width="11%">状态</th>
                <th width="11%">操作</th>

            </tr>
        </thead>
        <tbody>
            <foreach name="info" item="vo">

            <tr>
                <td>{$vo['id']}</td>
                <td>{$vo['title']}</td>
                <td style="max-width:50px;padding-top:10px"><span style="word-wrap:break-word;">{:empty($vo['rules'])?无:$vo['rules']}</span></td>
                <td>{$vo['describe']}</td>
                <td><if condition="$vo['status'] eq 1 ">正常    <else /> 禁用</if></td>
                <td>
                    <a href="{:U('Admin/Roles/groupedit',array('id'=>$vo['id']))}"><button type="button" class="btn btn-default btn-xs"><i class="fa fa-edit"></i>&nbsp; 修改</button></a>
                </td>
            </tr>
            </foreach>
        </tbody>
    </table>
</div>



</block>